/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.account;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.account.SysPermission;

/**
 * @author CSJ (email:raulcsj@163.com)
 * @since 2012-12-09
 */
public interface SysPermissionService {
    /****************************************
     * Insert a instace of SysPermission
     ****************************************/
    public void insert(SysPermission syspermission) throws Exception;

    /****************************************
     * Insert instaces of SysPermission
     ****************************************/
    public void batchInsert(SysPermission syspermission) throws Exception;

    /****************************************
     * Delete a instace of SysPermission
     ****************************************/
    public void delete(SysPermission syspermission) throws Exception;

    /****************************************
     * Delete instaces of SysPermission
     ****************************************/
    public void batchDelete(SysPermission syspermission) throws Exception;

    /****************************************
     * Update a instace of SysPermission
     ****************************************/
    public void update(SysPermission syspermission) throws Exception;

    /****************************************
     * Query instaces of SysPermission
     ****************************************/
    public List<BaseModel> queryAsList(SysPermission syspermission) throws Exception;

    /****************************************
     * Query a instaces of SysPermission
     ****************************************/
    public BaseModel queryAsObject(SysPermission syspermission) throws Exception;
}
